package com.xinchengxd.chat.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: 姚新成
 * @Date: 2021/11/17:23:08
 * @Description:
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MsgDTO {
    String userName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date time;
    String msg ;

}
